package com.imooc.business.core.executor;

import com.imooc.business.context.DataContext;

public interface Process {
    /**
     * 采集或者是查询
     * @param context
     */
    void doProcess(DataContext context);

    /**
     * 区分具体是采集 还是 做查询
     * @param context
     * @return
     */
    boolean support(DataContext context);
}
